package cn.com.chenmin.data.service;

import cn.com.chenmin.data.entity.SamplePerson;

import org.springframework.data.jpa.repository.JpaRepository;
import java.time.LocalDate;
import java.util.List;

public interface SamplePersonRepository extends JpaRepository<SamplePerson, Integer> {

    SamplePerson findByUser_Id(Integer id);

    SamplePerson findByUser_Username(String username);

}